package com.cddx.logistics.mapper;

import com.cddx.logistics.domain.dto.InsuranceQueryDTO;
import com.cddx.logistics.domain.pojo.Insurance;
import com.cddx.logistics.domain.vo.InsuranceVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InsuranceMapper {
    List<InsuranceVO> queryPage(InsuranceQueryDTO queryDTO);
    int add(Insurance insurance);
    int update(Insurance insurance);
    int delete(Integer id);
    int batchDelete(List<Integer> ids);
}